.window {
  display: none;
  /*padding: 15px;*/
}

li.disconnected {
  background-color: darkgray;
}


li.hidden {
  display: none;
}

li {
  display: inline-block;
  max-width: 200px;
  min-width: 90px;
  height: 30px;
  position: relative;
  box-sizing: border-box;
  background-color: #463a3a66;
  border-right: 1px solid #6b6565c2;
  border-radius: 2px;

  .view_icon {
    width: 12px;
    height: 12px;
    vertical-align: middle;
    display: inline-block;
  }

  // 复用了 ztree 的 icon
  .view_icon::before {
    font-family: FontAwesome;
    color: #ffffff;
    display: inline-block;
  }

  &.active {
    box-sizing: border-box;
    border-bottom: 2px solid var(--primary-color);
  }

  span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #f1f0f0;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    text-decoration: none;
    padding-left: 12px;
    padding-right: 18px;
    line-height: 26px;
    cursor: default;
    height: 26px;
    display: block;

    i {
      line-height: 12px;
    }
  }
}

li a.close {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  position: absolute;
  color: gray;
  top: 0;
  right: 6px;
  cursor: pointer;
  line-height: 26px;
  display: inline-block;
}

li.active a {
  color: white;
}

li.active span {
  padding-left: 12px;
  line-height: 26px;
  color: white;
  height: 26px;
}

li input {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  width: 120px;
  border: none;
  background-color: inherit;
  color: white;
  padding: 5px 20px 4px 15px;
  height: 26px;
}

